package com.imc.application;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class HelloWordController {

	@RequestMapping(value = "/hello.htm")
	public void hello(HttpServletRequest request, Map<String, Object> model)
			throws Exception {
		String aMessage = "This is the first APP Controller YEAH!";
		model.put("message", aMessage);
	}
	
	@RequestMapping("/hello2.htm")
	public void hello2(HttpServletRequest request, Map<String, Object> model)
			throws Exception {
		String aMessage = "This is the Second APP Controller YEAH!";
		model.put("message", aMessage);
	}
}
